Functional MRI for stroke and spinal cord injury